#ifndef MASTER_INTERNAL_CMD_H_
#define MASTER_INTERNAL_CMD_H_

#include "../base/conf.h"

C_CODE_BEGIN


/*
 * The command function prototype should be same as area in structure
 * struct master_command in file master.h
 */


int _cmd_add_notification_slave( struct master* m , struct kv_element* val );
const char* _cmd_add_notification_slave_name();

int _cmd_load_slave( struct master* ms , struct kv_element* val );
const char* _cmd_load_slave_name();


int _cmd_add_thread( struct master* ms , struct kv_element* kv );
const char* _cmd_add_thread_name();


C_CODE_END


#endif //MASTER_INTERNAL_CMD_H_